package com.yunkeji.api.user.bo;

import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 实名认证
 *
 * @author 老张
 * @date 2024-05-27
 */
@Data
public class RealAuthBo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 真是姓名 */
    @Size(min = 2, max = 10, message = "真实姓名长度错误")
    private String realName;

    /** 身份证号码 */
    @Size(min = 10, max = 18, message = "身份证号码长度错误")
    private String idCard;
    /** 1=真人认证,2=实名认证 */
    private Integer checkType;

    private String resUrl;

    private Long lockId;
}
